package dome1;

import java.util.List;

public class Text {
    public static void main(String[] args) {
        Game game = new Game();
        List<Card> cardList = game.creatCard();
        System.out.println("洗牌前：" + cardList);
        System.out.println("====================");
        game.shuffle(cardList);
        System.out.println("洗牌后：" + cardList);
        System.out.println("====================");
        List<List<Card>> head = game.play(cardList);
        for (int i = 0; i < head.size(); i++) {
            System.out.println("第" + (i+1) + "个人的牌是：" + head.get(i));
        }
        System.out.println("剩下的牌是：" + cardList);
    }
}
